﻿using FluentNHibernate.Mapping;

namespace Business.Entity.Fiscal.ClassesRelacionadas
{
    public class CFOPMap : ClassMap<CFOP>
    {
        public CFOPMap()
        {
            Id(x => x.Id).Not.Nullable().GeneratedBy.Sequence("sqCfop");
            Map(x => x.Cfop).Not.Nullable();
            Map(x => x.Aplicacao).Length(500);
        }
    }}
